package com.fzy.modules.bill.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/***
 * 销售订单
 */
@Data
public class SoBill  {
    private String id;
    private Integer billStatus;//审核状态 0未审核 1000审核通过
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date bizDt;//
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date dealDate;//交货时间
    private String orgId;//组织机构id
    private String bizUserId;//业务员id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date dateCreated;//制单时间
    private Double goodsMoney;//销售金额
    private Double tax;//税金
    private Double moneyWithTax;//价税合计
    private String inputUserId;//制单人id
    private String ref;//销售订单号
    private String customerId;//客户id
    private String contact;//客户联系人
    private String tel;//客户电话
    private String fax;//客户传真
    private String dealAddress;//交货地址
    private String billMemo;//备注
    private Integer receivingType;//收款方式 1现金收款 0记应收账款
    private String confirmUserId;//审核人id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date confirmDate;//审核时间
    private String dataOrg;
    private String companyId;//公司id
    //非数据库字段
    private String inputUserName;//制单人名称
    private String confirmUserName;//审核人名称
    private String bizUserName;//业务员名称
    private String customerName;//客户名称

}
